package com.csw.mysqldate.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csw.mysqldate.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 1
 */
@Mapper
public interface UserDao extends BaseMapper<User> {
	List<User> selectBy();

	void updateCommit();

	List<User> selectBe();

	User selectUserById(@Param("uid") int uid);

    int updateBy(@Param("user") User user);

	int insertBy(@Param("user") User user);
}
